package com.locationtracker.plus.data.model.bean

import me.hgj.jetpackmvvm.network.BaseResponse

data class ApiResponse<T>(
    val status_code: Int,
    val message: String,
    val data: T,
    val meta: ApiMetaBean //分页信息
) : BaseResponse<T>() {

    override fun isSucces() = status_code == 0

    override fun getResponseCode() = status_code

    override fun getResponseData() = data

    override fun getResponseMsg() = message

}